package com.liuwei.msmall.ware.feign;

import com.liuwei.msmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Classname OrderFeignService
 * @Description TODO
 * @Date 2020/7/22 16:32
 * @Created by 刘
 */
@FeignClient("msmall-order-service")
public interface OrderFeignService {

    @GetMapping("/order/order/get/{orderSn}")
    R getOrderByOrderSn(@PathVariable("orderSn") String orderSn);

}
